|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.doclinx.ftxml.CatalogMgrException
This class comprises the exception thrown by the CatalogManager class. All CatalogManager methods either return a value or void if OK. All errors are returned thrown with a message and the error code available to the catching code.
CatalogManager
,
Serialized FormConstructor Summary | |
CatalogMgrException()
Default constructor -- should never see this exception. |
|
CatalogMgrException(int iErrorCode)
CatalogManager exception constructor with indicated error code. |
|
CatalogMgrException(int iErrorCode,
java.lang.Throwable rootCause)
CatalogManager exception constructor with indicated error code and a root cause |
|
CatalogMgrException(java.lang.String sErrorMessage)
Deprecated. Never Used. |
|
CatalogMgrException(java.lang.String sErrorMessage,
int iErrorCode)
CatalogManager exception constructor with indicated error code + message. |
|
CatalogMgrException(java.lang.String sErrorMessage,
int iErrorCode,
java.lang.Throwable rootCause)
CatalogManager exception constructor with indicated error code + message + root cause |
Method Summary | |
int |
getErrorCode()
Returns the code number of the error for catching code. |
java.lang.String |
getErrorMessage(int iErrorCode)
Returns an error message corresponding to the error number of the error. |
java.lang.String |
getErrorMessage(java.lang.String sErrorMessage,
int iErrorCode)
Returns an error message corresponding to the error number of the error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CatalogMgrException()
**none**
public CatalogMgrException(java.lang.String sErrorMessage)
**none**
public CatalogMgrException(int iErrorCode)
iErrorCode
- Code number of error, always < 0.
**none**
error codes for explanations.
public CatalogMgrException(int iErrorCode, java.lang.Throwable rootCause)
iErrorCode
- Code number of error, always < 0.rootCause
- Throwable that caused this exception to be thrown
**none**
error codes for explanations.
public CatalogMgrException(java.lang.String sErrorMessage, int iErrorCode)
iErrorCode
- Code number of error, always < 0.sErrorMessage
- Additional message to include with code message.
**none**
error codes values.
public CatalogMgrException(java.lang.String sErrorMessage, int iErrorCode, java.lang.Throwable rootCause)
iErrorCode
- Code number of error, always < 0.sErrorMessage
- Additional message to include with code message.rootCause
- Throwable that caused this exception to be thrown
**none**
error codes values.
Method Detail |
public int getErrorCode()
**none**
error codes values.
public java.lang.String getErrorMessage(int iErrorCode)
iErrorCode
- Numeric error code for this exception
**none**
error codes values.
public java.lang.String getErrorMessage(java.lang.String sErrorMessage, int iErrorCode)
iErrorCode
- Numeric error code for this exceptionsErrorMessage
- Additional message to include with code message.
**none**
error codes values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |